package com.ruoyi.whzj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动参与人员对象 wh_activity_user
 * 
 * @author ruoyi
 * @date 2020-10-22
 */
public class WhActivityUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动参与人员id */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    @Excel(name = "用户昵称")
    private String userName;

    /** 活动id */
    @Excel(name = "活动id")
    private String activityId;

    /** 活动期数 */
    @Excel(name = "活动期数")
    private String activityNum;

    /** 参与次数 */
    @Excel(name = "参与次数")
    private Integer num;

    /** 消耗总积分数 */
    @Excel(name = "消耗总积分数")
    private Integer integral;

    /** 状态 等待开奖 未中奖 中奖 */
    @Excel(name = "状态 等待开奖 未中奖 中奖")
    private String status;

    //中奖人
    private String nickname;

    //所有积分
    private String allIntegral;

    private String headImg;
    /** 用户快手号 */
    private String kuaiNumber;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setActivityId(String activityId) 
    {
        this.activityId = activityId;
    }

    public String getActivityId() 
    {
        return activityId;
    }
    public void setNum(Integer num) 
    {
        this.num = num;
    }

    public Integer getNum() 
    {
        return num;
    }
    public void setIntegral(Integer integral) 
    {
        this.integral = integral;
    }

    public Integer getIntegral() 
    {
        return integral;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAllIntegral() {
        return allIntegral;
    }

    public void setAllIntegral(String allIntegral) {
        this.allIntegral = allIntegral;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("activityId", getActivityId())
            .append("num", getNum())
            .append("integral", getIntegral())
            .append("status", getStatus())
            .toString();
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getActivityNum() {
        return activityNum;
    }

    public void setActivityNum(String activityNum) {
        this.activityNum = activityNum;
    }

    public String getKuaiNumber() {
        return kuaiNumber;
    }

    public void setKuaiNumber(String kuaiNumber) {
        this.kuaiNumber = kuaiNumber;
    }
}
